#define  _CRT_SECURE_NO_WARNINGS
#include"Date.h"
int main()
{
	Date d1(2025, 1, 24);
	d1.print();
	Date d2(2024, 9, 14);
	d2.print();
	//bool ret = d1 < d2;
	//if (!ret)
	//{
	//	cout << "d1>d2"<<endl;
	//}
	//else
	//{
	//	cout << "d1<d2"<<endl;
	//}
	//d1 += 100;
	//d1.print();
	//Date ret2=d2 + 100;
	//d2.print();
	//ret2.print();
	//Date ret1=d1-100;
	//ret1.print();
	//ret2 -= 100;
	//ret2.print();
	//Date ret3=ret2++;
	//ret2.print();
	//Date ret4=++ret2;
	//ret2.print();
	//cout << endl;
	//ret3.print();
	//ret4.print();

	int sub = d1.operator-(d2);
	int sub2 = d1 - d2;
	cout << sub << endl;
	cout << sub2 << endl;

	
	return 0;
}